import * as React from 'react'
import { Route, Switch } from 'react-router-dom'
import { loadable } from 'routes'

export default () => {
    return (
        <Switch>
            <Route component={loadable(import('../../store/action/Detatil/Category'))} path="/detail/category" />
            <Route component={loadable(import('../../store/action/Detatil/SearchDetail'))} path="/detail/search/:id" />
        </Switch>
    )
}